package com.ruoyi.file.utils;

/**
 * Cscp operator system helper.
 *
 * @author william.zhao
 * @version 1.0
 * @date 2024/06/17/ 15:10
 * @since jdk-17.0.2
 */
public class CscpOSHelper {

    /**
     * is windows operator system.
     *
     * @return is windows operator system or not.
     */
    public static boolean isWindows() {
        String osName = System.getProperty("os.name").toLowerCase();
        if (osName.contains("win")) {
            return true;
        }

        return false;
    }
}
